package com.biscuit.page.basicservice.model.entities.mysql;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * @author biscuit
 * @createTime 2024/6/15 11:02
 */
@Getter
@Setter
@TableName(value = "sys_chat_room_message")
public class SysChatRoomMessage extends BaseEntity {

    @TableField(value = "chat_room_id")
    private Long chatRoomId;

    @TableField(value = "user_id")
    private Long userId;

    @TableField("user_u_id")
    private String userUid;

    @TableField(value = "body")
    private String body;

    @TableField(value = "is_before")
    private Integer isBefore;

    @TableField(value = "publish_time")
    private LocalDateTime publishTime;

    @TableField(value = "is_revocation")
    private Integer isRevocation;

}